package cn.chenxinjie.hrm.dto;

import cn.chenxinjie.hrm.domain.Course;
import cn.chenxinjie.hrm.domain.CourseDetail;
import cn.chenxinjie.hrm.domain.CourseMarket;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author 陈鑫杰
 * @date 2022/3/15 11:11
 */
@Data
public class CourseDto {
    @NotNull(message = "课程不能为空")
    private Course course;
    @NotNull(message = "课程详情不能为空")
    private CourseDetail courseDetail;
    @NotNull(message = "课程市场不能为空")
    private CourseMarket courseMarket;
}
